All Questions
5 questions
2votes
1answer
341views
What is the best way to use serverside validation in PHP PDO?
I have a form on my page. I am using jQuery validation for client-side and PHP for server-side validation. I am using PDO. I don't have any issues with client-side and server-side validation. My form ...
2votes
1answer
432views
Passing data to HTML template
How can I pass data from database to my HTML template without putting PHP code in my HTML file. Thanks. This is my controller ...
5votes
3answers
1kviews
Ajax Voting System
Everything works, but my strong suit definitely isn't JavaScript or jQuery. I'm sure there is some way that this can be accomplished that doesn't look so hacky. HTML: ...
8votes
2answers
223views
Student status form
I'm programming a system and I want to know if this is the correct way or if there is a better way to do it. Container: I have more fields but I only added one to show you the container. ...
5votes
1answer
1kviews
PDO prepared statement - binding variable number of values
Please let me know if I have over/under explained my question :) HTML table row - the numerals from each id attribute, in this example "408" and "409", are the database tables primary ID numbers, one ...